home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 143
/
(Vol 143) Nov 15 2011.iso
/
Games
/
aqua_cubes.swf
/
scripts
/
frame_82
/
DoAction_4.as
< prev
next >
Wrap
Text File
|
2011-11-15
|
2KB
|
58 lines
_root.displaymode = 1;
_root.pa_setting.window.gotoAndStop(strToNum(_root.win_act));
_root.pa_setting.full_low.gotoAndStop(strToNum(_root.low_act));
_root.pa_setting.full_mid.gotoAndStop(strToNum(_root.mid_act));
_root.pa_setting.full_high.gotoAndStop(strToNum(_root.high_act));
_root.pa_setting.q_low.gotoAndStop(strToNum(_root.q_low));
_root.pa_setting.q_mid.gotoAndStop(strToNum(_root.q_mid));
_root.pa_setting.q_high.gotoAndStop(strToNum(_root.q_high));
if(strToNum(_root.q_low) == 2)
{
_root._quality = "LOW";
}
if(strToNum(_root.q_mid) == 2)
{
_root._quality = "MEDIUM";
}
if(strToNum(_root.q_high) == 2)
{
_root._quality = "HIGH";
}
_root.pa_setting.b_cancel.onRelease = function()
{
_root.pa_setting.window.gotoAndStop(strToNum(_root.win_act));
_root.pa_setting.full_low.gotoAndStop(strToNum(_root.low_act));
_root.pa_setting.full_mid.gotoAndStop(strToNum(_root.mid_act));
_root.pa_setting.full_high.gotoAndStop(strToNum(_root.high_act));
_root.pa_setting.q_low.gotoAndStop(strToNum(_root.q_low));
_root.pa_setting.q_mid.gotoAndStop(strToNum(_root.q_mid));
_root.pa_setting.q_high.gotoAndStop(strToNum(_root.q_high));
if(strToNum(_root.q_low) == 2)
{
_root._quality = "LOW";
}
if(strToNum(_root.q_mid) == 2)
{
_root._quality = "MEDIUM";
}
if(strToNum(_root.q_high) == 2)
{
_root._quality = "HIGH";
}
_root.pa_setting._visible = false;
};
_root.pa_setting.b_ok.onRelease = function()
{
_root.pa_setting._visible = false;
_root.displaymode = _root.pa_setting.window._currentframe * 1000 + _root.pa_setting.full_low._currentframe * 100 + _root.pa_setting.full_mid._currentframe * 10 + _root.pa_setting.full_high._currentframe;
getUrl("FSCommand:open", "config.txt");
getURL("FSCommand:write",_root.displaymode);
fscommand("close");
getUrl("FSCommand:open", "saveconfig.txt");
getURL("FSCommand:write","win_act=" + _root.pa_setting.b_window._currentframe + "&low_act=" + _root.pa_setting.b_fulllow._currentframe + "&mid_act=" + _root.pa_setting.b_fullmid._currentframe + "&high_act=" + _root.pa_setting.b_fullhigh._currentframe);
fscommand("close");
getUrl("FSCommand:open", "savequality.txt");
getURL("FSCommand:write","q_low=" + _root.pa_setting.b_qlow._currentframe + "&q_mid=" + _root.pa_setting.b_qmid._currentframe + "&q_high=" + _root.pa_setting.b_qhigh._currentframe);
fscommand("close");
};